<?php

use yii\helpers\Html;
use app\assets\TimelineAsset;
use yii\widgets\ActiveForm;
use app\modules\clinical\models\ExcelPfbc;

/* @var $this yii\web\View */
/* @var $model app\models\ExcelPfbc */
/* @var $form yii\widgets\ActiveForm */
TimelineAsset::register($this);
?>

<section class="cd-horizontal-timeline">
<div class="timeline">
  <div class="events-wrapper">
    <div class="events">
      <ol id="timelineList">
        <li><a href="#0" data-date="16/01/2014" class="selected">病史资料</a></li>
        <li><a href="#0" data-date="28/02/2014">临床表现</a></li>
        <li><a href="#0" data-date="20/04/2014">体征</a></li>
      </ol>

      <span class="filling-line" aria-hidden="true"></span>
    </div> <!-- .events -->
  </div> <!-- .events-wrapper -->
        
</div> <!-- .timeline -->

<div class="events-content">
  <ol>
    <li class="selected" data-date="16/01/2014">

    <!-- <h3>一、病史资料</h3> -->
    <div class="form-group">
      <?= Html::label('患者姓名', 'pt_rel') ?><br />
      <?= Html::dropDownList('pt_rel', (!empty($pt_rel)) ? $pt_rel : 0, $pt_rel_list, ($model->isNewRecord) ? ['class' => 'pt_rel_list'] : ['class' => 'pt_rel_list', 'disabled' => 'true']) ?>
    </div>
    
    <?= $form->field($model, 'pt_age')->textInput()->error(false) ?><br />

    <?= $form->field($model, 'pt_history')->textArea(['maxlength' => true])->error(false) ?>

    </li>

    <li data-date="28/02/2014">

    <!-- <h3>二、临床表现</h3> -->
    <h4>运动障碍相关症状：</h4>
    <?= $form->field($model, 'lc_yd_parkinson')->radioList(ExcelPfbc::getParams('youwu'), ['class'=>'radioList memo', 'unselect'=>$model->lc_yd_parkinson])->error(false) ?><br />

    <?= $form->field($model, 'lc_yd_dance')->radioList(ExcelPfbc::getParams('youwu'), ['class'=>'radioList memo', 'unselect'=>$model->lc_yd_dance])->error(false) ?><br />

    <?= $form->field($model, 'lc_yd_zhench')->radioList(ExcelPfbc::getParams('youwu'), ['class'=>'radioList memo', 'unselect'=>$model->lc_yd_zhench])->error(false) ?><br />

    <?= $form->field($model, 'lc_yd_jiz')->radioList(ExcelPfbc::getParams('youwu'), ['class'=>'radioList memo', 'unselect'=>$model->lc_yd_jiz])->error(false) ?><br />

    <?= $form->field($model, 'lc_yd_shouz')->radioList(ExcelPfbc::getParams('youwu'), ['class'=>'radioList memo', 'unselect'=>$model->lc_yd_shouz])->error(false) ?><br />

    <?= $form->field($model, 'lc_yd_koum')->radioList(ExcelPfbc::getParams('youwu'), ['class'=>'radioList memo', 'unselect'=>$model->lc_yd_koum])->error(false) ?><br />

    <h4>神经精神症状：</h4>
    <?= $form->field($model, 'lc_sj_zhengz')->radioList(ExcelPfbc::getParams('youwu'), ['class'=>'radioList memo', 'unselect'=>$model->lc_sj_zhengz])->error(false) ?><br />

    <?= $form->field($model, 'lc_sj_yiyu')->radioList(ExcelPfbc::getParams('youwu'), ['class'=>'radioList memo', 'unselect'=>$model->lc_sj_yiyu])->error(false) ?><br />

    <?= $form->field($model, 'lc_sj_renzhi')->radioList(ExcelPfbc::getParams('youwu'), ['class'=>'radioList memo', 'unselect'=>$model->lc_sj_renzhi])->error(false) ?><br />

    <?= $form->field($model, 'lc_sj_xinge')->radioList(ExcelPfbc::getParams('youwu'), ['class'=>'radioList memo', 'unselect'=>$model->lc_sj_xinge])->error(false) ?><br />

    <h4>其他症状：</h4>
    <?= $form->field($model, 'lc_else_butai')->radioList(ExcelPfbc::getParams('youwu'), ['class'=>'radioList memo', 'unselect'=>$model->lc_else_butai])->error(false) ?><br />

    <?= $form->field($model, 'lc_else_yanyu')->radioList(ExcelPfbc::getParams('youwu'), ['class'=>'radioList memo', 'unselect'=>$model->lc_else_yanyu])->error(false) ?><br />

    <?= $form->field($model, 'lc_else_xiaon')->radioList(ExcelPfbc::getParams('youwu'), ['class'=>'radioList memo', 'unselect'=>$model->lc_else_xiaon])->error(false) ?><br />

    <?= $form->field($model, 'lc_else_xian')->radioList(ExcelPfbc::getParams('youwu'), ['class'=>'radioList memo', 'unselect'=>$model->lc_else_xian])->error(false) ?><br />

    <?= $form->field($model, 'lc_else_zhui')->radioList(ExcelPfbc::getParams('youwu'), ['class'=>'radioList memo', 'unselect'=>$model->lc_else_zhui])->error(false) ?><br />

    <?= $form->field($model, 'lc_else_gan')->radioList(ExcelPfbc::getParams('youwu'), ['class'=>'radioList memo', 'unselect'=>$model->lc_else_gan])->error(false) ?><br />

    <?= $form->field($model, 'lc_else_wei')->radioList(ExcelPfbc::getParams('youwu'), ['class'=>'radioList memo', 'unselect'=>$model->lc_else_wei])->error(false) ?><br />

    <?= $form->field($model, 'lc_else_mi')->radioList(ExcelPfbc::getParams('youwu'), ['class'=>'radioList memo', 'unselect'=>$model->lc_else_mi])->error(false) ?><br />

    <?= $form->field($model, 'lc_else_jiz')->radioList(ExcelPfbc::getParams('youwu'), ['class'=>'radioList memo', 'unselect'=>$model->lc_else_jiz])->error(false) ?><br />

    </li>

    <li data-date="20/04/2014">

    <!-- <h3>三、体征</h3> -->
    <b>肌力：</b><br />

    <?= $form->field($model, 'bd_jili_lu')->listBox(['0', '1', '2', '3', '4', '5'])->error(false) ?>

    <?= $form->field($model, 'bd_jili_ld')->listBox(['0', '1', '2', '3', '4', '5'])->error(false) ?>

    <?= $form->field($model, 'bd_jili_ru')->listBox(['0', '1', '2', '3', '4', '5'])->error(false) ?>

    <?= $form->field($model, 'bd_jili_rd')->listBox(['0', '1', '2', '3', '4', '5'])->error(false) ?><br />

    <b>肌张力：</b><br />

    | <?= $form->field($model, 'bd_jiz_lu')->radioList(ExcelPfbc::getParams('jizhangli'), ['class'=>'radioList'])->error(false) ?>

    | <?= $form->field($model, 'bd_jiz_ld')->radioList(ExcelPfbc::getParams('jizhangli'), ['class'=>'radioList'])->error(false) ?><br />

    | <?= $form->field($model, 'bd_jiz_ru')->radioList(ExcelPfbc::getParams('jizhangli'), ['class'=>'radioList'])->error(false) ?>

    | <?= $form->field($model, 'bd_jiz_rd')->radioList(ExcelPfbc::getParams('jizhangli'), ['class'=>'radioList'])->error(false) ?><br />

    <b>腱反射：</b><br />

    | <?= $form->field($model, 'bd_fanshe_er')->radioList(ExcelPfbc::getParams('jianfan'), ['class'=>'radioList'])->error(false) ?><br />

    | <?= $form->field($model, 'bd_fanshe_san')->radioList(ExcelPfbc::getParams('jianfan'), ['class'=>'radioList'])->error(false) ?><br />

    | <?= $form->field($model, 'bd_fanshe_rao')->radioList(ExcelPfbc::getParams('jianfan'), ['class'=>'radioList'])->error(false) ?><br />

    | <?= $form->field($model, 'bd_fanshe_xi')->radioList(ExcelPfbc::getParams('jianfan'), ['class'=>'radioList'])->error(false) ?><br />

    | <?= $form->field($model, 'bd_fanshe_huai')->radioList(ExcelPfbc::getParams('jianfan'), ['class'=>'radioList'])->error(false) ?><br />

    | <?= $form->field($model, 'bd_zhen_bin')->radioList(ExcelPfbc::getParams('jianfan'), ['class'=>'radioList'])->error(false) ?><br />

    | <?= $form->field($model, 'bd_zhen_huai')->radioList(ExcelPfbc::getParams('jianfan'), ['class'=>'radioList'])->error(false) ?><br />

    | <?= $form->field($model, 'bd_bingli')->radioList(ExcelPfbc::getParams('yinyang'), ['class'=>'radioList'])->error(false) ?>

    | <?= $form->field($model, 'bd_hoffman')->radioList(ExcelPfbc::getParams('yinyang'), ['class'=>'radioList'])->error(false) ?><br />

    <?= $form->field($model, 'bd_zhangai')->radioList(ExcelPfbc::getParams('youwu'), ['class'=>'radioList'])->error(false) ?><br />

    <?= $form->field($model, 'bd_zhuiti')->textArea(['maxlength' => true])->error(false) ?><br />

    <b>共济运动：</b><br />

    | <?= $form->field($model, 'bd_gg_zhibi')->radioList(ExcelPfbc::getParams('zhibi'), ['class'=>'radioList'])->error(false) ?>

    | <?= $form->field($model, 'bd_gg_genxi')->radioList(ExcelPfbc::getParams('yinyang'), ['class'=>'radioList'])->error(false) ?><br />

    | <?= $form->field($model, 'bd_gg_romberg')->radioList(ExcelPfbc::getParams('yinyang'), ['class'=>'radioList'])->error(false) ?>

    | <?= $form->field($model, 'bd_gg_yizi')->radioList(ExcelPfbc::getParams('yizi'), ['class'=>'radioList'])->error(false) ?><br />

    <?= $form->field($model, 'bd_shenjing')->textArea(['maxlength' => true])->error(false) ?><br />

    | <?= $form->field($model, 'bd_weisuo_ji')->radioList(ExcelPfbc::getParams('youwu'), ['class'=>'radioList'])->error(false) ?>

    | <?= $form->field($model, 'bd_gongxing')->radioList(ExcelPfbc::getParams('youwu'), ['class'=>'radioList'])->error(false) ?><br />

    <?= $form->field($model, 'bd_butai')->textArea(['maxlength' => true])->error(false) ?><br />

    | <?= $form->field($model, 'bd_gouyin')->radioList(ExcelPfbc::getParams('youwu'), ['class'=>'radioList'])->error(false) ?>

    | <?= $form->field($model, 'bd_shiyu')->radioList(ExcelPfbc::getParams('youwu'), ['class'=>'radioList'])->error(false) ?>

    | <?= $form->field($model, 'bd_yanzhen')->radioList(ExcelPfbc::getParams('youwu'), ['class'=>'radioList'])->error(false) ?><br />

    <?= $form->field($model, 'bd_pifu')->textArea(['maxlength' => true])->error(false) ?>

    <?= $form->field($model, 'bd_fayu')->textArea(['maxlength' => true])->error(false) ?>

    </li>
  </ol>
</div> <!-- .events-content -->
</section>
